﻿/*
 * @autor: hectorea
 * @date: 11/08/2012
 * @programming interview 2
 * 
 */
using System;

namespace StringCombination
{
    /// <summary>
    /// Programming Interview 2: Write a method to find all the posible combinations of a string.
    /// </summary>
    class Program
    {
        static void Main(string[] args)
        {
            string input = string.Empty;

            do
            {
                Console.Clear();

                Console.Write("Type a string:");
                input = Console.ReadLine();

                input.Combination(string.Empty, 0);

                Console.Write("Please type any key to continue o [X] to exit: ");
                input = Console.ReadLine().ToUpper();

            } while (input != "X");
        }
    }
}
